Scalable Analysis via Machine Learning: Predicting Memory Dependencies Precisely
نویسنده
چکیده
Program analysis tackles the problem of predicting the behavior or certain properties of the considered program code. The challenge lies in determining the dynamic run-time behavior statically at compile time. While in rare cases it is possible to determine exact dynamic properties already statically, in many cases, e.g., in analyzing memory dependencies, one can only find imprecise information. To overcome this problem, we look at the dynamic run-time behavior and use Machine Learning (ML) techniques to learn the relationship between static program features and dynamic run-time behavior. ML yields highly scalable predictors, which are safely applicable when erroneous predictions merely have an impact on program optimality but not on correctness. Once trained, these predictors can be used in a static compiler. In this extended abstract, I present our approach to mitigate the impact of the memory gap using ML techniques and speculative optimizations. The memory gap denotes the fact that over the last decade, computer performance is increasingly dominated by memory speed, which did not manage to keep pace with the ever increasing CPU rates. We consider novel speculative optimization techniques of memory accesses to reduce their effective latency. We trained predictors to learn the memory dependencies of a given pair of accesses, and use the result in our optimization to decide about the profitability of a given optimization step.
منابع مشابه
A Review of Machine Learning Applied to Medical Time Series
The field of medicine has witnessed numerous improvements in recent decades, yet many of the biological processes underlying the medical problems faced today remain a mystery. Recent advances in machine learning enable the extraction of features that would be nearly impossible for experts to find in the massive medical datasets. The techniques not only offer improved continuous patient monitori...
متن کاملUsing Machine Learning ARIMA to Predict the Price of Cryptocurrencies
The increasing volatility in pricing and growing potential for profit in digital currency have made predicting the price of cryptocurrency a very attractive research topic. Several studies have already been conducted using various machine-learning models to predict crypto currency prices. This study presented in this paper applied a classic Autoregressive Integrated Moving Average(ARIMA) model ...
متن کاملNokia Mobile Data Challenge: Predicting Semantic Place and Next Place via Mobile Data∗
The appearance of smartphones equipped with various sensors enables pervasive monitoring of mobile users’ behaviors and mobility. The Nokia Mobile Data Challenge (MDC) [10] gives us a great opportunity to study the users’ mobility models and location profiles from a rich mobile dataset. The realistic data analysis may benefit a wide range of fields from technology innovation to policy making. I...
متن کاملBipartite Edge Prediction via Transductive Learning over Product Graphs
This paper addresses the problem of predicting the missing edges of a bipartite graph where each side of the vertices has its own intrinsic structure. We propose a new optimization framework to map the two sides of the intrinsic structures onto the manifold structure of the edges via a graph product, and to reduce the original problem to vertex label propagation over the product graph. This fra...
متن کاملMaximizing Subjective Quality for Scalable Video Coding
With the upcoming scalable video coding algorithms as a solution to the problem of increasing heterogeneity in devices and networks, new challenges arise regarding the subjective quality towards the end user. Scalable video coding allows on-the-fly adaptation of the different aspects of visual quality, taking into account the expectations of the user. In this paper, we propose a machine learnin...
متن کامل